package com.project.service;

import java.util.List;
import java.util.Map;

import com.project.entity.News;
import com.project.entity.NewsExample;

public interface NewsManage {
	public List<News> getAllNews(Map<String,String> map);
	
	public void insertNews(News news);
	
	public void deleteById(Integer id);
	
	public News getNewsById(Integer id);
	
	public void updateNews(News news);
	
	public List<News> findByAuther(String autherName);
	
	public int totalCount(Map<String,String> map);

}
